package models.crawlers.events.errors;

import models.crawlers.common.WebSiteInfo;
import models.crawlers.entities.WebSiteEntity;

public class ProductParsingError extends GenericError {

    public String url;
    public WebSiteEntity productInfo;
    public WebSiteInfo webSiteInfo;

    public ProductParsingError(WebSiteInfo webSiteInfo, WebSiteEntity productInfo, String message) {
        super(message);
        this.productInfo = productInfo;
        this.webSiteInfo = webSiteInfo;
    }
}
